/******************************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Ltd.                       */
/*                                                                            */
/*  NAME      = sqlserver_request.h                                           */
/*  NOTE      =                                                               */
/*  DATE      = 2014/09/30 by zhengxd                                         */
/******************************************************************************/
#ifndef _SQLSERVER_REQUEST_H_
#define _SQLSERVER_REQUEST_H_

int sqlserver_parse_login7(Conntrack *p_st_conn
                          , L7session_sqlserver_private *p_st_private
                          , Frhash_header *p_st_hash_report
                          , int i_cancel_flg
                          , int i_whole_flg);

int sqlserver_parse_sqlbatch(Conntrack *p_st_conn
                            , L7session_sqlserver_private *p_st_private
                            , Frhash_header *p_st_hash_report
                            , int i_cancel_flg
                            , int i_whole_flg);

int sqlserver_parse_rpc(Conntrack *p_st_conn
                        , L7session_sqlserver_private *p_st_private
                        , Frhash_header *p_st_hash_report
                        , int i_cancel_flg
                        , int i_whole_flg);

int sqlserver_parse_attention(Conntrack *p_st_conn
                             , L7session_sqlserver_private *p_st_private
                             , Frhash_header *p_st_hash_report
                             , int i_whole_flg);

int sqlserver_parse_pretdslogin(Conntrack *p_st_conn
                               , L7session_sqlserver_private *p_st_private
                               , Frhash_header *p_st_hash_report
                               , int i_cancel_flg
                               , int i_whole_flg);

int sqlserver_parse_bulk(Conntrack *p_st_conn
                        , L7session_sqlserver_private *p_st_private
                        , Frhash_header *p_st_hash_report
                        , int i_cancel_flg
                        , int i_whole_flg);

int sqlserver_parse_transaction(Conntrack *p_st_conn
                               , L7session_sqlserver_private *p_st_private
                               , Frhash_header *p_st_hash_report
                               , int i_cancel_flg
                               , int i_whole_flg);

int sqlserver_parse_sspi(Conntrack *p_st_conn
                        , L7session_sqlserver_private *p_st_private
                        , Frhash_header *p_st_hash_report
                        , int i_cancel_flg
                        , int i_whole_flg);

int sqlserver_parse_pretds7login(Conntrack *p_st_conn
                                , L7session_sqlserver_private *p_st_private
                                , Frhash_header *p_st_hash_report
                                , int i_cancel_flg
                                , int i_whole_flg);

#endif
